package com.xyzq.cgate.core.component.loadbalance;

import com.xyzq.cgate.common.rule.custom.entity.BalancePiece;
import com.xyzq.cgate.common.rule.custom.entity.LoadBalance;

/**
* @Description:
* @author chenchen
* @date 2019/6/21 15:42
*/
public interface LoadBalanceSelector {

    BalancePiece select(LoadBalance loadBalance, String ip);

    String getAlgorithm();
}
